;(function(){
  'use strict';
  angular.module('controllers.faultLocation.tradeLog')
  .controller('TradeLogQueryCtrl', logQueryCtrl); 
  /**
   * [logQueryCtrl description]
   * @param  {[type]} $scope                [description]
   * @param  {[type]} IndexIsAnormal        [description]
   * @param  {[type]} TradeLogQueryServer   [description]
   * @param  {[type]} TradeLogQuerySelector [description]
   * @param  {[type]} TradeLogQueryParam    [description]
   * @param  {[type]} TradeLogQueryViewObj  [description]
   * @return {[type]}                       [description]
   */
  function logQueryCtrl($scope,TradeLogQueryServer,TradeLogQuerySelector,TradeLogQueryParam,TradeLogQueryViewObj){
    
    $scope.tradeLog = TradeLogQueryParam.initParam();
    $scope.date = TradeLogQueryParam.initDate();
    $scope.flag = TradeLogQueryParam.initFlag();
    $scope.selector = TradeLogQuerySelector.selector;
    $scope.getTradeLogQuery = TradeLogQueryParam.tradeLogQueryFn;
    $scope.viewObj = TradeLogQueryViewObj.initViewObj();
    $scope.pageObj = TradeLogQueryViewObj.initPageObj();
    $scope.turnToPage = TradeLogQueryViewObj.turnToPageFn;

  }

  logQueryCtrl.$inject = ['$scope','TradeLogQueryServer','TradeLogQuerySelector','TradeLogQueryParam','TradeLogQueryViewObj'];

})();